home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: Help on:Printing to Printer from within c / c++ program
- Date: 10 Apr 1996 07:53 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <10APR199607532757@erich.triumf.ca>
- References: <316a58d0.5945808@nntp.ix.netcom.com>
- NNTP-Posting-Host: ftp.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <316a58d0.5945808@nntp.ix.netcom.com>, cmalinow@ix.netcom.com (Chris Malinowski) writes...
- >Newbie requires help.
- >Trying to read in a seq file from disk, and print on the printer.
- >OPEN of input file works ok, but am having difficulty opening the
- >output file as the printer device.
- >System is Dos/ Windows 3.1
- >Borland c++ 3.1
- >Redirect is out of the question, must perform the file open from
- >withing the progam.
-
- This is a system-specific problem, so you will probalby get a better response
- on an Windoze newsgroup, like comp.os.mswindows.programmer.misc.
-
- Under DOS, Borland compilers automagically open the printer as "stdprn", so
- you can just do fprintf(stdprn,"the usual printf stuff..."); but I suspect this
- won't work under Windoze (but it might - I haven't got that far in Windoze...)
-
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
- or: ftp://ftp-i2.informatik.rwth-aachen.de/pub/arnd/GPS/peter/index.html
-
-